package com.atguigu.spzx;
import com.atguigu.spzx.common.exception.EnableGlobalExceptionHandler;
import com.atguigu.spzx.common.properties.MinioProperties;
import com.atguigu.spzx.common.properties.UserAuthProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

//@EnableScheduling
@SpringBootApplication
@MapperScan("com.atguigu.spzx.manager.mapper")
@EnableGlobalExceptionHandler
@EnableConfigurationProperties({UserAuthProperties.class, MinioProperties.class})
public class ManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args) ;
    }

}